/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package quanlynhatre.Model;

import java.util.HashSet;
import java.util.Set;

/**
 *
 * @author VOTHUY
 */
public class NamHoc {
    
    private String NamHoc;
    private Set<HocKy> hockys;
    
    public NamHoc()
    {
        this.NamHoc = "";
    }
    public NamHoc(String nh)
    {
        this.NamHoc = nh;
        this.hockys = new HashSet<HocKy>();
    }
    
    public String getNamHoc()
    {
        return NamHoc;
    }
    
    public void setNamHoc(String nh)
    {
        this.NamHoc = nh;
    }
    
    public Set<HocKy> getHKs()
    {
        return hockys;
    }
    
    public void setHKs(Set<HocKy> hk)
    {
        this.hockys = hk;
    }
    
}
